package main

func main(){
	var mymap map [string] int
	mymap=make(map[string] int)
	mymap=make(map[string] int,100)
	mymap=map[string] int {"1":1}
	mymap["2"]=2
	delete(mymap,"1")

	//元素查找
	value,ok:=mymap["1"]
	if ok {//找到了
		//处理代码
		print(value)
	}

}